﻿#ifndef Public_H
#define Public_H
/********************************************************************************
** @ Date:2025/04/30
** @ Author: HanJiaXin
** @ Description:一些公共函数
** @ Version:1.0.0
** @ ClassName:
** @ Fun:
********************************************************************************/
#include <windows.h>
#include <dwmapi.h>
#pragma comment(lib, "dwmapi.lib")

extern void sysSleep(int nMsTime);
extern int messageBox(int nMsgLevel, QString sMsg);//全局QMessage，返回选择的结果 0信息框 1警告框 2错误框 3询问框
extern QString createGuid();
extern void setWindowsTitleBarColor(HWND hwnd, COLORREF color);
extern void logText(const QString& text);
#endif